package com.yy.bootdemo.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.bootdemo.admin.entity.BuyUser;
import com.yy.bootdemo.admin.entity.MyGoodsEntity;
import com.yy.bootdemo.utils.R;

/**
 * 商品管理
 *
 * @author yy
 * @email yangxxil01@sina.com
 * @date 2023-01-09 16:32:38
 */
public interface MyGoodsService extends IService<MyGoodsEntity> {

    R cacheGoods(Long goodsId);

    R buy(Long goodsId,Integer userId);

    R lpush(Long goodsId);

    R lpushbuy(BuyUser buyUser);
}

